package com.yxd.demo.service;

import com.yxd.demo.domain.Rule;

import java.util.List;

/**
 * @author: yxd
 * @date: 2022/8/1 9:39
 */
public interface RuleService {
    boolean insert(Rule rule);

    Rule queryById(Long ruleId);

    List<Rule> queryByIds(List<Long> ruleIds);

    List<Rule> queryAll();
}
